package cn.holy.app.sztxc.repository.module;

import javax.inject.Named;
import javax.inject.Singleton;

import cn.holy.app.sztxc.app.App;
import cn.holy.app.sztxc.database.dao.UserDao;
import cn.holy.app.sztxc.database.dao.UserDao_Impl;
import dagger.Module;
import dagger.Provides;

/**
 * Created by xionghao on 2018/2/23.
 */

@Module
public class UserModule {

    @Provides
    UserDao userDao(){
        return new UserDao_Impl(App.getApp().getAppDataBase());
    }

}
